export const gradeTypeEnumAp = {
	normal: {
		color: '#70b603',
		name: "生效中"
	},
	enable: {
		color: '#d9001b',
		name: "暂停中"
	},
	disable: {
		color: '#f59a23',
		name: "未生效"
	},
	test: {
		color: 'purple',
		name: "测试中"
	},
}
export const warCay = {
	SOS: 'SOS告警',
	BatteryLow: '电量过低告警',
	SignalLose: '信号丢失告警',
	Leave: '离位告警',
	AisleNoEstablish: '基站离线告警',
	HeartRate: '心率告警',
	Temperature: '体温告警',
	Fall: '跌倒告警',
	HighBloodPressure: '收缩压告警',
	LowBloodPressure: '舒张压告警',
}

export const BasicWarnTypeEnum = {
	DeviceOffLine: '设备离线',
	DeviceLowPower: '设备低电量',
	DeviceRemoval: '设备拆除',
	SignalLose: '信号丢失告警',
	SOS: 'SOS呼叫',
	OverBodyTemperatureHigh: '体温过高',
	UnderBodyTemperatureLow: '体温过低',
	UnderBloodOxygenLow: '血氧饱和度',
	OverBloodPressureHigh: '血压高压偏高',
	UnderBloodPressureHigh: '血压高压偏低',
	OverBloodPressureLow: '血压低压偏高',
	UnderBloodPressureLow: '血压低压偏低',
	UnderHeartRate: '心率过低',
	OverHeartRate: '心率过高',
	OverBreatheRate: '呼吸频率过高',
	UnderBreatheRate: '呼吸频率过低',
	Tumble: '跌倒',
	LeaveBed: '离床',
	LeaveLocation: '离位',
	BreakIn: '非法闯入',
	AreaSingleStay: '滞留时间过长',
}

export const mattressTypeEnum = {
	Leave: {
		text: '离床',
		color: '#eb3838',
	},
	Lying: {
		text: '静卧',
		color: '#6edbbb',
	},
	Moving: {
		text: '体动',
		color: '#ffa359',
	},
}
export const gradeTypeEnum = {
	1: {
		color: 'red',
	},
	2: {
		color: 'pink',
	},
	3: {
		color: 'orange',
	},
	4: {
		color: 'purple',
	},
	WarningLevel1: {
		color: 'red',
	},
	WarningLevel2: {
		color: 'pink',
	},
	WarningLevel3: {
		color: 'orange',
	},
	WarningLevel4: {
		color: 'purple',
	},
}
export const assetsGrade = {
	WarningLevel1: {
		color: '#02a7f0',
	},
	WarningLevel2: {
		color: '#f4d4aa',
	},
	WarningLevel3: {
		color: '#ed9aa4',
	},
	WarningLevel4: {
		color: '#d9001b',
	},
}
export const taskStatusEnum = {
	// 暂停中
	TASK_STATUS_VALID: {
		color: '#02a7f0',
	},
	TASK_ACTION_PAUSE: {
		color: '#d9001b',
	},
	TASK_ACTION_NOTSTART: {
		color: '#7f7f7f',
	},
	TASK_ACTION_EXECUTING: {
		color: '#02a7f0',
	},
	TASK_ACTION_COMPLETED: {
		color: '#70b603',
	},
	TASK_ACTION_ABNORMAL: {
		color: '#f59a23',
	},
	TASK_ACTION_UNEXECUTED: {
		color: '#d9001b',
	},
	TASK_STATUS_CLOSE: {
		color: '#000000',
	},
	TASK_STATUS_PAUSE: {
		color: '#d9001b',
	},
	TASK_STATUS_INVALID: {
		color: '#f59a5f',
	},

}
export const radarTypeEnum = {
	Nobody: {
		text: '无人',
		icon: '',
	},
	Motionless: {
		text: '静止',
		icon: 'icon-ren',
	},
	Activity: {
		text: '活动',
		icon: 'icon-337',
	},
	Tumble: {
		text: '跌倒',
		icon: 'icon-360',
	},
	SeemTumble: {
		text: '疑似跌倒',
		icon: 'icon-360',
	},
	AreaSingleStay: {
		text: '滞留',
		icon: 'icon-jinggao',
	},
}
export const radar = {
	First: "紧急",
	Second: "急",
	Third: "一般",
	Four: "提醒"
}
export const signTypes = [
	{
		label: "心率数值",
		value: 1
	},
	{
		label: "血压数值",
		value: 2
	},
	{
		label: "血氧数值",
		value: 3
	},
	{
		label: "体温数值",
		value: 4
	},
	{
		label: "呼吸率数值",
		value: 5
	}
]

